package com.example.blogapi.vo;

import com.example.blogapi.domain.MsArticle;
import com.example.blogapi.domain.MsTag;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.List;
@Data
public class ArticleVo extends MsArticle {
   @JsonSerialize(using = ToStringSerializer.class)
   private Long id;
   private List<MsTag> tags;
   private String AuthorName;
   private ArticleBodyVo articleBodyVo;
   private CategoryVo categoryVo;
}
